package com.solution.admin.customer.dao;

import java.util.List;
import java.util.Map;

import com.solution.admin.customer.entity.CustomerVisitLogEntity;
import com.solution.common.dao.BaseDao;
import com.solution.common.page.PageBean;
import com.solution.common.page.PageParam;

/**
 * 客户访问内容DAO接口
 * @author lilp
 * @date 2018-07-07 09:26:31
 */
public interface CustomerVisitLogDao extends BaseDao<CustomerVisitLogEntity> {
	
	/**
	 * 保存客户访问内容
	 * @param customerVisitLogEntity
	 * @return
	 * @author lilp
	 * @date 2018-07-07 09:26:31
	 */
	public long saveCustomerVisitLog(CustomerVisitLogEntity customerVisitLogEntity);

	/**
	 * 分页查询客户访问内容信息
	 * @param pageParam 分页对象
	 * @param customerVisitLog 分页参数
	 * @return PageBean 分页参数及数据
	 * @author lilp
	 * @date 2018-07-07 09:26:31
	 */
	public PageBean listCustomerVisitLogPage(PageParam pageParam, Map<String, Object> param);

	/**
	 * 更新客户访问内容
	 * @param customerVisitLogEntity
	 * @return
	 * @author lilp
	 * @date 2018-07-07 09:26:31
	 */
	public int updateCustomerVisitLog(CustomerVisitLogEntity customerVisitLogEntity);


	/**
	 * 删除客户访问内容角色
	 * @param id
	 * @return
	 * @author lilp
	 * @date 2018-07-07 09:26:31
	 */
	public int deleteCustomerVisitLogById(Long id);
	
	/**
	 * 根据客户访问内容类型获取客户访问内容
	 * @param param
	 * @return
	 * @author lilp
	 * @date 2018-07-07 09:26:31
	 */
	public List<CustomerVisitLogEntity> listCustomerVisitLog( Map<String, Object> param);
}
